<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><tiles:insertAttribute name="title" ignore="true"/></title>

    <link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/bootstrap/bootstrap.css"/>"/>
    <link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/layout.css"/>"/>

    <script src="<c:url value="/resources/js/jquery.js" />"></script>
    <script src="<c:url value="/resources/js/bootstrap.js" />"></script>
    <script src="<c:url value="/resources/js/main.js" />"></script>
</head>
<body>

<tiles:insertAttribute name="header"/>
<div class="container">
    <div class="row">
        <c:if test="${not empty user}">
            <div class="col-md-3">

            </div>
            <div class="col-md-9 well">

            </div>
        </c:if>

        <c:if test="${empty user}">
            <tiles:insertAttribute name="body"/>
        </c:if>

    </div>
</div>
<div class="container">

</div>
</body>
</html>